import { HANDLE_LOGIN_STATUS, HANDLE_LOGIN, HANDLE_LOGIN_INFO } from './../type'

const mutations = {
	[HANDLE_LOGIN_STATUS](state, isLogin) {
		state.isLogin = isLogin
	},
	[HANDLE_LOGIN](state, content) {
		state.content = content
	},
	[HANDLE_LOGIN_INFO](state, info) {
		state.info = info
	}
}

export default mutations
